package com.bestcem.xm.component.security.annotation;

import java.lang.annotation.*;

/**
 * XM登录鉴权验证注解
 *
 * @author wangyunyun <yunyun.wang@idiaoyan.com>
 * @version v1.0
 * @date 2022/5/24 16:30
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface XmAuth {
    /**
     * 是否鉴权  默认false  true：鉴权接口返回token信息和是否有权限 false：不鉴权，鉴权接口只返回token信息
     */
    boolean authentication() default false;
}
